<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE html>
<html>
 <meta charset="utf-8">
  <title>管理员主页</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="<%=basePath%>/layui/css/layui.css" media="all">
	<style>
	.icon {
	  width: 1em;
	  height: 1em;
	  vertical-align: -0.15em;
	  fill: currentColor;
	  overflow: hidden;
	}
	</style>
</head>
<body>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo" style="font-size:20px;color:white;">毕业设计选题系统</div>
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item">
        <a href="javascript:;">
          <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
          ${sessionScope.admin.adminName} 
        </a>
        <dl class="layui-nav-child">
          <dd><a href="">返回主页</a></dd>
          <dd><a href="">安全设置</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item"><a onClick="return confirm('确定退出系统?');" href="/bysjxksys/adminlogout">退出</a></li>
    </ul>
  </div>
  
  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree"  lay-filter="test">
        <li class="layui-nav-item layui-nav-itemed">
          <a class="" href="javascript:;">用户管理</a>
          <dl class="layui-nav-child">
            <dd><a href="<%=basePath%>pages/admin/stuManage.jsp" target="content">
				<svg class="icon" aria-hidden="true">
				  <use xlink:href="#iconuser"></use>
				</svg>&nbsp;学生用户管理
           	 </a></dd>
            <dd><a href="<%=basePath%>/pages/admin/teacherManage.jsp" target="content">
				<svg class="icon" aria-hidden="true">
				  <use xlink:href="#iconusergroup"></use>
				</svg>&nbsp;教师用户管理
            </a></dd>
          </dl>
        </li>
        <li class="layui-nav-item">
          <a href="javascript:;">统计分析</a>
          <dl class="layui-nav-child">
            <dd><a href="<%=basePath%>pages/admin/subjectCase.jsp" target="content">
 				<svg class="icon" aria-hidden="true">
				  <use xlink:href="#iconstuinfo"></use>
				</svg>&nbsp;教师课题情况统计
			</a></dd>
            <dd><a href="<%=basePath%>pages/admin/chooseSubjectCase.jsp" target="content">
 				<svg class="icon" aria-hidden="true">
				  <use xlink:href="#iconscore"></use>
				</svg>&nbsp;学生选课情况统计
			</a></dd>
          </dl>
        </li>
         <li class="layui-nav-item">
          <a href="javascript:;">个人信息管理</a>
          <dl class="layui-nav-child">
            <dd><a href="<%=basePath%>pages/admin/adminIfrom.jsp" target="content">
 				<svg class="icon" aria-hidden="true">
				  <use xlink:href="#iconstuinfo"></use>
				</svg>&nbsp;修改密码
			</a></dd>
          </dl>
        </li>
      </ul>
    </div>
  </div>
  
  <div class="layui-body">
       <iframe id="content" name="content" src="" scrolling="yes" frameborder="no" width="100%" height="100%"></iframe>
  </div>
</body>

<script src="<%=basePath%>/iconfont/iconfont.js"></script>
<script src="<%=basePath%>/js/jquery-3.2.1.min.js"></script>
<script src="<%=basePath%>/js/vue.min.js"></script>
<script src="<%=basePath%>/layui/layui.js" charset="utf-8"></script>
<script>
layui.use('element', function(){
	  var element = layui.element;
	  
});
</script>
</html>